package com.demo.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.gulimall.common.utils.PageUtils;
import com.demo.gulimall.ware.entity.WareInfo;
import com.demo.gulimall.ware.vo.FareVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author Chen Yuan
 */

@Service
public interface WareInfoService extends IService<WareInfo> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 获取运费和收货地址信息
	 * @param addrId
	 * @return
	 */
	FareVo getFare(Long addrId);
}
